<?php $light = TRUE;?>
<table id="data" cellpadding="4" cellspacing="0">
    <?php foreach ($data as $key => $value) :?>
        <tr class="<?php echo $light ? 'light' : 'dark';?>">
            <td><strong><?php echo strtoupper(str_replace('_', ' ', $key));?>:</strong> </td>
            <td><?php echo $value;?></td>
        </tr>
        <?php $light = $light ? FALSE : TRUE;?>
    <?php endforeach;?>
    <tr>
        <td colspan="2" align="center">
            <a href="javascript:void(0);" onclick="loadTable('<?php echo $_POST['table']?>');">RETURN</a>
            <!-- <a href="javascript:void(0);">UPDATE</a>
            <a href="javascript:void(0);">DELETE</a> -->
        </td>
    </tr>
</table>
